package com.shuwen.gcdj.bean.strategy.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author :yys
 * @date : 2023/5/9 14:41
 */
@Data
public class UpdateStrategyReq {

    @ApiModelProperty(value = "策略id",required = true)
    @NotBlank(message = "策略id不能为空")
    private String id;

    @ApiModelProperty("策略名称")
    private String name;

    @ApiModelProperty("状态  启动1/关闭0")
    private Integer state;

    @ApiModelProperty("是否启用模板（启动1/关闭0）")
    private Integer isTemplate;

}
